package com.bdqn.shequ.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-04-11 18:55:39
 */
@Data
@TableName("tc_task")
public class TcTaskEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 申请人
	 */
	private Long applicantId;
	/**
	 * 审批人
	 */
	private Long approvalId;
	/**
	 * 联系人
	 */
	private Long contactsId;
	/**
	 * 联系人电话
	 */
	private String contactsPhone;
	/**
	 * 申请人类型（SYSTEM:系统;MEMBER:会员）
	 */
	private String applicantType;
	/**
	 * 任务名称
	 */
	private String taskName;
	/**
	 * 任务积分
	 */
	private Integer taskIntegral;
	/**
	 * 任务最大人数
	 */
	private Integer taskMaxNum;
	/**
	 * 任务描述
	 */
	private String taskMemo;
	/**
	 * 任务微文地址
	 */
	private String taskUrl;
	/**
	 * 任务状态:(UN_AUDIT:申请待审核;APPLY_CANCEL:申请取消;AUDIT_PASS:申请审核通过;AUDIT_FAIL:申请审核不通过;TASK_SIGN_UP:任务报名中;TASK_IN_PROGRESS:任务实施进行中;TASK_CANCEL:任务取消;TASK_FINISHED:任务结束;TASK_APPRECIATED:任务已打赏;TASK_ALLOT:任务已分配
	 */
	private String taskStatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 任务开始时间
	 */
	private Date startTime;
	/**
	 * 任务结束时间
	 */
	private Date endTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 修改人
	 */
	private Long updateUser;
	/**
	 * 创建人
	 */
	private Long createUser;
	/**
	 * 备注
	 */
	private String remark;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getApplicantId() {
		return applicantId;
	}

	public void setApplicantId(Long applicantId) {
		this.applicantId = applicantId;
	}

	public Long getApprovalId() {
		return approvalId;
	}

	public void setApprovalId(Long approvalId) {
		this.approvalId = approvalId;
	}

	public Long getContactsId() {
		return contactsId;
	}

	public void setContactsId(Long contactsId) {
		this.contactsId = contactsId;
	}

	public String getContactsPhone() {
		return contactsPhone;
	}

	public void setContactsPhone(String contactsPhone) {
		this.contactsPhone = contactsPhone;
	}

	public String getApplicantType() {
		return applicantType;
	}

	public void setApplicantType(String applicantType) {
		this.applicantType = applicantType;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Integer getTaskIntegral() {
		return taskIntegral;
	}

	public void setTaskIntegral(Integer taskIntegral) {
		this.taskIntegral = taskIntegral;
	}

	public Integer getTaskMaxNum() {
		return taskMaxNum;
	}

	public void setTaskMaxNum(Integer taskMaxNum) {
		this.taskMaxNum = taskMaxNum;
	}

	public String getTaskMemo() {
		return taskMemo;
	}

	public void setTaskMemo(String taskMemo) {
		this.taskMemo = taskMemo;
	}

	public String getTaskUrl() {
		return taskUrl;
	}

	public void setTaskUrl(String taskUrl) {
		this.taskUrl = taskUrl;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}

	public Long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
